package com.zyg.DI;

public class Car {
	String type;
	String color;
	int displacement;
	public Car(String type,String color,int displacement) {
		this.type=type;
		this.color=color;
		this.displacement=displacement;
		
	}
	@Override
	public String toString() {
		return "Car [type=" + type + ", color=" + color + ", displacement=" + displacement + "]";
	}
	

}
